package com.igeek.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.igeek.car.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.car.vo.PageQueryVO;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author Suzi
 * @since 2024-12-06
 */
public interface OrdersService extends IService<Orders> {
    Page<Orders> findPage(PageQueryVO vo);

    boolean del(Integer id);
    String generateOrderNumber();
    List<Map<String, Object>> getOrderStatistics();
    List<Map<String, Object>> getDateOrderStatistics(); // 新增方法
    boolean refundOrder(Integer id);
    boolean rescheduleOrder(Integer id, Orders orderDetails);
    boolean confirmOrder(Integer id);
}


